package com.lc.dmd;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@MapperScan(basePackages = {"com.lc.dmd.mapper"})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class DMDApplication {

    public static void main(String[] args) {
        // SpringApplication.run(DMDApplication.class, args);

        // 解决项目启动循环依赖问题
        SpringApplication app = new SpringApplication(DMDApplication.class);
        app.setBannerMode(Banner.Mode.OFF);
        app.run(args);
    }


}
